import { IFormType } from '@/base-ui/form';
export const formItems: IFormType[] = [
  {
    label: '姓名',
    itemType: 'input',
    placeholder: '请输入你的姓名',
    field: 'name'
  },
  {
    label: '手机号码',
    itemType: 'password',
    placeholder: '请输入你的手机号码',
    field: 'cellphone'
  },
  {
    label: '是否必选',
    itemType: 'select',
    field: 'enable',
    options: [
      {
        title: '必选',
        value: 1
      },
      {
        title: '非必选',
        value: 0
      }
    ]
  },
  {
    label: '创建日期',
    itemType: 'datePicker',
    otherOptions: {
      startPlaceholder: '开始日期',
      endPlaceholder: '结束日期',
      type: 'daterange'
    },
    field: 'createAt'
  }
];
